package com.rdl.relation;

import java.util.ArrayList;
import java.util.Hashtable;
import java.util.List;

/**
 *  DB信息描述
 * @author Xairy
 *
 */
public class DatabaseInfo {
	private List<TableInfo> tables = new ArrayList<TableInfo>();
	private String defaultRoleName;
	private String nameSpace;     // 命名空间
	private String apiName;       // DB查询接口API名称
	private String dbName;        // DB名称
	
	public List<TableInfo> getTables() {
		return tables;
	}

	public void setDefaultRoleName(String defaultRoleName) {
		this.defaultRoleName = defaultRoleName;
	}

	public String getDefaultRole() {
		return defaultRoleName;
	}

	public void setNameSpace(String nameSpace) {
		this.nameSpace = nameSpace;
	}

	public String getNameSpace() {
		return nameSpace;
	}

	public void setApiName(String apiName) {
		this.apiName = apiName;
	}

	public String getApiName() {
		return apiName;
	}

	public void setDbName(String dbName) {
		this.dbName = dbName;
	}

	public String getDbName() {
		return dbName;
	}

}
